<template>
    <!-- 这个是首页默认的页面 -->
    <div class="index">
        <router-view name="sectionTop"></router-view>
        <!-- 首页有两部分 -->
        <Top></Top>
        <Normal></Normal>
        <Normal></Normal>
        <Normal></Normal>
        <Normal></Normal>
        <Normal></Normal>
        <Normal></Normal>
        <p>{{test}}</p>
    </div>
</template>
<script>
import Top from "@/components/common/newsitem/Top";
import Normal from "@/components/common/newsitem/Normal";
export default {
  components: {
    Top,
    Normal
  },
  computed: {
    test() {
      return this.$store.state.singleSection.type;
    }
  }
};
</script>

